package com.leoman.service;

import com.leoman.entity.Banner;
import com.leoman.service.common.ICommonService;
import org.springframework.web.multipart.MultipartRequest;

import java.util.List;

/**
 * BannerService
 * Created by 涂奕恒 on 2016/10/18 0018 下午 3:10.
 */
public interface BannerService extends ICommonService<Banner> {

    // 查询广告列表
    List<Banner> iFindList();

    // 新增 or 编辑广告信息
    Integer saveBanner(Integer bannerId, String linkUrl, Integer videoTypeId, Integer videoId, MultipartRequest multipartRequest);

    // 批量删除广告信息
    Integer batchDelete(String ids);
}